package com.ruoyi.business.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.business.domain.TRegisterSignSms;
import com.ruoyi.business.vo.TRegisterSignSendSmsVo;
import com.ruoyi.business.vo.TRegisterSignSmsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 科主任签字发送短信Mapper接口
 *
 * @author Tellsea
 * @date 2025-04-07
 */
public interface TRegisterSignSmsMapper extends BaseMapper<TRegisterSignSms> {

    Page<TRegisterSignSmsVo> queryList(Page<?> page, @Param("entity") TRegisterSignSmsVo entity);

    List<TRegisterSignSmsVo> queryList(@Param("entity") TRegisterSignSmsVo entity);

    TRegisterSignSmsVo queryById(@Param("id") Long registerId);

    List<TRegisterSignSendSmsVo> getNoSendSmsSign(@Param("noSignTimeOut") Integer noSignTimeOut,@Param("noSignTimes") Integer noSignTimes);

    List<TRegisterSignSendSmsVo> getKXBatchNoSignByUserId(@Param("userId") Long userId);

}
